package ui;

import java.util.Scanner;

import static ui.StartMenu.showStartMenu;
import static ui.calssManage.ClassManageMenu.showClassManageMenu;
import static ui.scoreManage.ScoreManageMenu.showScoreManageMenu;
import static ui.studentManage.StudentsManageMenu.showStudentsManageMenu;
import static ui.teacherManage.TeacherManageMenu.showTeacherManageMenu;

public class ManageMenu {
    public static void showManageMenu(){
        Scanner scanner = new Scanner(System.in);
        System.out.println("管理界面");
        System.out.println("1、学生管理");
        System.out.println("2、教师管理");
        System.out.println("3、课程管理");
        System.out.println("4、成绩管理");
        System.out.println("5、注销");
        int option = scanner.nextInt();
        switch (option){
            case 1:
                showStudentsManageMenu();
                break;
            case 2:
                showTeacherManageMenu();
                break;
            case 3:
                showClassManageMenu();
                break;
            case 4:
                showScoreManageMenu();
                break;
            case 5:
                showStartMenu();
                break;
            default:
                showManageMenu();
        }
    }
}
